package com.hqyj.exception;

import lombok.Data;

/**
 * 项目:demo-springboot-230701
 * 描述:
 * 时间:2023/9/26 9:14
 * 作者:admin
 * 版本:1.0
 **/
@Data
public class MyarithmeticException  extends  Exception{
    //给用户的提示信息
    private String msg;
    //给程序员的提示信息
    private String info;
    //状态吗
    private int code;

    public MyarithmeticException(String msg,String info,int code){
        this.msg= msg;
        this.info= info;
        this.code= code;
    }


}
